const FAVORITE_API = {
    // 分页查询，page和limit参数必填
    listPage: {
        method: 'GET',
        url: '/favorite-api/favorite/list'
    },
    // 增加或更新
    save: {
        method: 'POST',
        url: '/favorite-api/favorite'
    },
    delete: {
        method: 'DELETE',
        url: '/favorite-api/favorite'
    },
    // 获取所有资源的类别
    getAllCatalog: {
        method: 'GET',
        url: '/favorite-api/favorite/resource-catalog-list'
    },
    // 获取资源logo图片的base64编码的字符串
    getLogoBase64: {
        method: 'GET',
        url: '/favorite-api/image/view-base64'
    }
}

export default FAVORITE_API